Evento di Lancio: Smart AI Security. Controllo Totale dei Dati. Prenota il tuo posto

chiudere
chiudere
La tua rete di domani
La tua rete di domani
Pianifica il tuo percorso verso una rete più veloce, sicura e resiliente, progettata per le applicazioni e gli utenti che supporti.
Experience Netskope
Prova direttamente la piattaforma Netskope
Ecco la tua occasione per sperimentare in prima persona la piattaforma single-cloud di Netskope One. Iscriviti a laboratori pratici e a ritmo autonomo, unisciti a noi per dimostrazioni mensili di prodotti dal vivo, fai un test drive gratuito di Netskope Private Access o partecipa a workshop dal vivo guidati da istruttori.
Un leader in SSE. Ora è un leader nel settore SASE a singolo fornitore.
Netskope è riconosciuto come Leader Più Lontano in Visione sia per le piattaforme SSE che SASE
2 volte leader nel Quadrante Magico di Gartner® per piattaforme SASE
Una piattaforma unificata costruita per il tuo percorso
Securing Generative AI for Dummies
Securing Generative AI for Dummies
Scopri come la tua organizzazione può bilanciare il potenziale innovativo dell'AI generativa con pratiche solide di sicurezza dei dati.
eBook sulla Modern Data Loss Prevention (DLP) for Dummies
Modern Data Loss Prevention (DLP) for Dummies
Ricevi consigli e trucchi per passare a un DLP fornito dal cloud.
Modern SD-WAN for SASE Dummies Book
Modern SD-WAN for SASE Dummies
Smettila di inseguire la tua architettura di rete
Comprendere dove risiede il rischio
Advanced Analytics trasforma il modo in cui i team di operazioni di sicurezza applicano insight basati sui dati per implementare policy migliori. Con l'Advanced Analytics, puoi identificare tendenze, concentrarti sulle aree di interesse e utilizzare i dati per agire.
Supporto tecnico Netskope
Supporto tecnico Netskope
I nostri ingegneri di supporto qualificati sono dislocati in tutto il mondo e possiedono competenze diversificate in sicurezza cloud, networking, virtualizzazione, content delivery e sviluppo software, garantendo un'assistenza tecnica tempestiva e di qualità.
Video Netskope
Formazione Netskope
La formazione Netskope ti aiuterà a diventare un esperto di sicurezza cloud. Siamo qui per aiutarti a proteggere il tuo percorso di trasformazione digitale e a sfruttare al meglio le tue applicazioni cloud, web e private.

Why the Future of Command and Control is the Cloud

Aug 10 2019

Cloud adoption has grown dramatically within the enterprise and shows no signs of stopping. Many cloud services such as Github, Slack, Dropbox, and others are part of everyday business and rightfully don’t raise red flags to security teams. These systems are managed and patched by companies who have a strong incentive to protect the data that is stored on, and moves to and from, their infrastructure, in most cases providing encryption at rest and in transit. These are well-known, well-understood, and trusted systems with easy-to-use APIs.

But what if attackers wanted to use those APIs too? Attackers are motivated to not get caught, and are also interested in having encryption at rest and in transit. Attackers don’t want red flags raised – and they sure don’t want their IPs and domains block listed or sinkholed. So why not use those same services? With the release of SaaSy_boi, a proof-of-concept with limited functionality, we explore how the cloud provides redundancy and resilience for all applications – even those you don’t want on your network. 

Anatomy of an Attack

Attackers can find all kinds of ways onto an endpoint – phishing, drive-by download, or even mistakenly downloading a file from a bucket with lax permissions. Once malware is there, most enterprises usually have an IDS or IPS to block the outbound communication. But what happens when the communication happens over a channel that is trusted and encrypted? This creates a huge problem for IDS, since URL-based detections will be defeated (the endpoint is trusted) and deep-packet inspection detections will be difficult (since the payload is encrypted). 

In the case of our POC, SaaSy_boi, we start by pulling API keys from a paired url.txt file (URLs not included). This saves us the trouble of hard-coding API keys for Slack and Twitter, making it much easier for us to conduct our operations over multiple channels, should one of them be blocked by some unforeseen security solution. This sort of “lock but no key” approach is one we take repeatedly with SaaSy_boi to evade common mitigations.

Then, by using SaaS as command and control, much the same way that SLUB did, attackers can operate under the radar from most security products and conduct their surreptitious operations for longer. Slack and Twitter operate as our command and control channels. Slack takes and responds to commands over a channel with the same name as the computer name, while Twitter simply tweets out command responses for commands received. We have a third fall-back channel in Github, but no command responses are posted – so you have to know what you want to do.

SaaSy_boi will also:

  • Upload to Dropbox (given a key)
  • Download from dropbox (given a key)
  • Upload to Slack
  • Upload to file.io
  • Download from file.io
  • Execute any command over a reverse-shell
  • Take a screenshot and upload it to imgur

Why Write This POC?

We provide all this functionality so that researchers and security professionals can play with the code, run the POC, and write detections. We at Netskope and others in the security community believe that approaching our defensive posture from an attacker’s perspective can give us insights that simply thinking about defense doesn’t provide. As such, we seek to bypass defenses wherever they are so we and others can patch the holes we find and help make things safer for everyone.

*NOTE*: If you want to freeze and package the executable to see what your security solutions can detect: the official Python docs have a resource for you.

Conclusion

This blog post is based on the talk I gave at Defcon 27. 
SaaSy_Boi can be found here: https://github.com/netskopeOSS/saasy_boi

author image
Erick Galinkin
Browse recent articles by Erick Galinkin, one of the contributors at Netskope. Discover the latest trends and updates within the cloud and network space.
Browse recent articles by Erick Galinkin, one of the contributors at Netskope. Discover the latest trends and updates within the cloud and network space.
Connettiti con Netskope

Iscriviti al blog di Netskope

Iscriviti per ricevere ogni mese una panoramica degli ultimi contenuti di Netskope direttamente nella tua casella di posta.